package com.huluobo.apps

import com.huluobo.lib_base.BaseRepo
import com.huluobo.lib_base.Res
import com.huluobo.lib_http.HttpType
import com.huluobo.lib_http.NetworkFactory
import kotlinx.coroutines.flow.Flow
import javax.inject.Inject

/**
 *  Created by LC on 2025/1/13.
 */
class AppsRepo @Inject constructor() : BaseRepo() {
    val apiService by lazy { NetworkFactory.factory(HttpType.NONE).create(ApiService::class.java) }

    fun getApp(): Flow<Res<AppsBean>> {
        return apiService.getApps()
    }
}